iommu: clear the iommu_* variables to 0 when iommu is not enabled.
authorKeir Fraser <keir.fraser@citrix.com>
Thu, 11 Mar 2010 08:09:58 +0000 (08:09 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Thu, 11 Mar 2010 08:09:58 +0000 (08:09 +0000)
commit1803dc9556de65b65c870d6bbdd1acce9c1d8fe3
treead13b1af7e21f62bf978749941227e3af6b8ee88
parent7a6d294eb96ce934efbd8c3ab517d9ddd03c0089
iommu: clear the iommu_* variables to 0 when iommu is not enabled.

With "iommu=0" xen parameter, the 3 iommu_* variables are still left
to the default value 1 -- this is misleading...

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
xen/drivers/passthrough/iommu.c